home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / graphics / 3dview12.zip / MISC.CPP < prev    next >
C/C++ Source or Header  |  1996-05-16  |  147b  |  10 lines

  1. #include <stdlib.h>
  2.  
  3. #include "defines.hpp"
  4.  
  5. #include "misc.hpp"
  6.  
  7. long MISC_Random( long R ) { 
  8.     return ( rand() * R / RAND_MAX ); };
  9.  
  10.